package smartclass.data;

import android.content.Context;
import android.os.Environment;
import android.widget.Toast;

public class TableItem {
	public static final String ID = "id";
	public static final String NAME = "name";
	public static final String ID_HOC_SINH = "idhocsinh";
	public static final String ID_GIAO_VIEN = "idgiaovien";
	public static final String PATH = "path";
	public static final String USER_NAME = "username";
	public static final String POSITION = "position";
	public static final String SUBJECT = "subject";
	public static final String ADDRESS = "address";
	public static final String GENDER = "gender";
	public static final String PASS_WORD = "password";
	public static final String PHONE_NUMBER = "phonenumber";
	public static final String CLASS_NAME = "className";
	public static final String DATE_CREAT = "dateCreat";
	public static final String ID_TOPIC = "idTopic";
	public static final String DOCUMENT_INFO = "documentInfo";
	public static final String HOMEWORK_INFO = "homeworkInfo";
	public static final String TYPE = "type";
	public static final String ID_HOMEWORK = "idHomework";

	/*
	 * String for Chord
	 */
	public static final String CHORD_SAMPLE_MESSAGE_TYPE = "com.samsung.android.sdk.chord.example.MESSAGE_TYPE";
	public static final String CHORD_HELLO_TEST_CHANNEL = "com.samsung.android.sdk.chord.example.HELLOTESTCHANNEL";

	/*
	 * Root Folder save Data Project
	 */
	public static String FILE_PATH = Environment.getExternalStorageDirectory()
			.getAbsolutePath() + "/SPen/";

	public static String FILE_PATH_TOPIC = FILE_PATH + "Topic/";
	public static String FILE_PATH_TEST = FILE_PATH + "Test";
	public static String FILE_PATH_HOMEWORK = FILE_PATH + "Homework/";
	public static String FILE_PATH_DIRECTION = FILE_PATH + "Direction/";
	public static String FILE_PATH_TEST_STUDENT = FILE_PATH + "Teststudent/";

	public static void displayNotification(Context context, String notification) {
		Toast.makeText(context, notification, Toast.LENGTH_SHORT).show();
	}

}
